package com.quectel.cms.constants;

/**
 * 在这里编写说明
 *
 * @author: CL
 * @email: louis.cao@quectel.com
 * @date: 2019-04-04 11:22:00
 */
public class CmsRedisCacheConstants {

    public static final String PROJECT_NAME = "CMS_API:";

    //token与人员的关系
    public static final String TOKEN_USER_PREFIX = PROJECT_NAME + "SYS_TOKEN_USER_PREFIX:";
    //人员与toke的关系
    public static final String USER_TOKEN_PREFIX = PROJECT_NAME + "SYS_USER_TOKEN_PREFIX:";

    /**
     * session默认过期时间 （分钟）
     */
    public static final int TOKEN_DEFAULT_TIMEOUT = 12 * 60;


    public static String CAPTCHA_ID = PROJECT_NAME + "CAPTCHA_ID";

    public static String WRONG_COUNT = PROJECT_NAME + "WRONG_COUNT_";


}
